import React from 'react'
import { Image } from 'react-vant';
import { useNavigate } from 'react-router-dom';
import style from "./home.module.less"
import HomeBg from "@/assets/images/home_bg.jpg"

const HomeView = () => {
  const navigate = useNavigate();

  return (
    <div className={style.home_box}>
      <Image src={HomeBg} />
      <div onClick={() => navigate("/login")} className={style.text}>库存管理系统</div>
    </div>
  )
}

export default HomeView;
